package com.cci.kangdao.service;

import java.util.Map;

import org.json.JSONException;
import org.springframework.web.servlet.ModelAndView;

public interface GMApplyService {

	/**
	 * 验证用户是否可申请Guidanz Mobile权限
	 * @param map
	 * @return
	 */
	public ModelAndView qualityCheck(Map<String, Object> map) throws Exception;
	
	/**
	 * 创建Guidanz Mobile申请记录
	 * @param map
	 * @return
	 */
	public ModelAndView createGMApply(Map<String, Object> map) throws Exception;
	
	/**
	 * 解除Guidanz Mobile权限接口
	 * @param map
	 * @return
	 */
	public ModelAndView deauthorization(Map<String, Object> map) throws Exception;
	
	/**
	 * 审核通过Guidanz Mobile权限申请
	 * @param map
	 * @return
	 */
	public ModelAndView approveApply(Map<String, Object> map) throws Exception;
	
	public void overTimeNotice();
	
	public void setApplyOverTime();

    public void setGMDailyStatus();

	ModelAndView checkGMUsableNum(Map<String, Object> map) throws JSONException, Exception;

    ModelAndView checkGMAuthForMessage(Map<String, Object> map);

}
